<?php

namespace App\DashboardBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * App\DashboardBundle\Entity\Supply
 */
class Supply
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var float $perPrice
     */
    private $perPrice;

    /**
     * @var float $total
     */
    private $total;

    /**
     * @var float $supQuantity
     */
    private $supQuantity;

    /**
     * @var float $rummage
     */
    private $rummage;

    /**
     * @var \DateTime $createdDate
     */
    private $createdDate;

    /**
     * @var integer $createdUserId
     */
    private $createdUserId;

    /**
     * @var \DateTime $updatedDate
     */
    private $updatedDate;

    /**
     * @var integer $updatedUserId
     */
    private $updatedUserId;

    /**
     * @var integer $isActive
     */
    private $isActive;

    /**
     * @var App\DashboardBundle\Entity\ProductKey
     */
    private $productKey;

    /**
     * @var App\DashboardBundle\Entity\Shop
     */
    private $shop;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set perPrice
     *
     * @param float $perPrice
     * @return Supply
     */
    public function setPerPrice($perPrice)
    {
        $this->perPrice = $perPrice;
    
        return $this;
    }

    /**
     * Get perPrice
     *
     * @return float 
     */
    public function getPerPrice()
    {
        return $this->perPrice;
    }

    /**
     * Set total
     *
     * @param float $total
     * @return Supply
     */
    public function setTotal($total)
    {
        $this->total = $total;
    
        return $this;
    }

    /**
     * Get total
     *
     * @return float 
     */
    public function getTotal()
    {
        return $this->total;
    }

    /**
     * Set supQuantity
     *
     * @param float $supQuantity
     * @return Supply
     */
    public function setSupQuantity($supQuantity)
    {
        $this->supQuantity = $supQuantity;
    
        return $this;
    }

    /**
     * Get supQuantity
     *
     * @return float 
     */
    public function getSupQuantity()
    {
        return $this->supQuantity;
    }

    /**
     * Set rummage
     *
     * @param float $rummage
     * @return Supply
     */
    public function setRummage($rummage)
    {
        $this->rummage = $rummage;
    
        return $this;
    }

    /**
     * Get rummage
     *
     * @return float 
     */
    public function getRummage()
    {
        return $this->rummage;
    }

    /**
     * Set createdDate
     *
     * @param \DateTime $createdDate
     * @return Supply
     */
    public function setCreatedDate($createdDate)
    {
        $this->createdDate = $createdDate;
    
        return $this;
    }

    /**
     * Get createdDate
     *
     * @return \DateTime 
     */
    public function getCreatedDate()
    {
        return $this->createdDate;
    }

    /**
     * Set createdUserId
     *
     * @param integer $createdUserId
     * @return Supply
     */
    public function setCreatedUserId($createdUserId)
    {
        $this->createdUserId = $createdUserId;
    
        return $this;
    }

    /**
     * Get createdUserId
     *
     * @return integer 
     */
    public function getCreatedUserId()
    {
        return $this->createdUserId;
    }

    /**
     * Set updatedDate
     *
     * @param \DateTime $updatedDate
     * @return Supply
     */
    public function setUpdatedDate($updatedDate)
    {
        $this->updatedDate = $updatedDate;
    
        return $this;
    }

    /**
     * Get updatedDate
     *
     * @return \DateTime 
     */
    public function getUpdatedDate()
    {
        return $this->updatedDate;
    }

    /**
     * Set updatedUserId
     *
     * @param integer $updatedUserId
     * @return Supply
     */
    public function setUpdatedUserId($updatedUserId)
    {
        $this->updatedUserId = $updatedUserId;
    
        return $this;
    }

    /**
     * Get updatedUserId
     *
     * @return integer 
     */
    public function getUpdatedUserId()
    {
        return $this->updatedUserId;
    }

    /**
     * Set isActive
     *
     * @param integer $isActive
     * @return Supply
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;
    
        return $this;
    }

    /**
     * Get isActive
     *
     * @return integer 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set productKey
     *
     * @param App\DashboardBundle\Entity\ProductKey $productKey
     * @return Supply
     */
    public function setProductKey(\App\DashboardBundle\Entity\ProductKey $productKey = null)
    {
        $this->productKey = $productKey;
    
        return $this;
    }

    /**
     * Get productKey
     *
     * @return App\DashboardBundle\Entity\ProductKey 
     */
    public function getProductKey()
    {
        return $this->productKey;
    }

    /**
     * Set shop
     *
     * @param App\DashboardBundle\Entity\Shop $shop
     * @return Supply
     */
    public function setShop(\App\DashboardBundle\Entity\Shop $shop = null)
    {
        $this->shop = $shop;
    
        return $this;
    }

    /**
     * Get shop
     *
     * @return App\DashboardBundle\Entity\Shop 
     */
    public function getShop()
    {
        return $this->shop;
    }
}